/**
 * @ Author: Yoann Meclot. MSay2
 * @ Created on: 2020-09-29 11:23:15
 * @ Modified on: 2020-09-29 10:46:39
 *
 * @version 1.0
 */
/**
 * Copyright (c) 2020 MSay2, Yoann Meclot - @msay2/tspoet
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { TypeName } from "./TSPoet.js";
/**
 * Init a new interface method or property.
 *
 * @class TSProperty
 * @version 1.0
 */
export declare class TSProperty
{
    constructor(builder: Builder);

    /**
     * Init a builder for add a interface method or property.
     *
     * @param name The name of the method or property.
     * @throws {NullPointerException} Check if the name is null.
     * @type {Builder}
     * @since 1.0
     */
    static add(name: string): Builder;
}
/**
 * @version 1.0
 */
declare class Builder 
{
    constructor(name: string);

    /**
     * Add a parameter.
     *
     * @param tsParamer The parameter to be added.
     * @throws {NullPointerException} Check if the TSParameter object is null.
     * @type {Builder}
     * @since 1.0
     */
    addParameter(name: string, typeName: TypeName): Builder;

    /**
     * Add a documentation.
     *
     * @param arg Your comment.
     * @throws {NullPointerException} Check if the doc is null.
     * @type {Builder}
     * @since 1.0
     */
    addDoc(arg: string): Builder;

    /**
     * Set a return type to method.
     *
     * @param typeName The return type.
     * @throws {NullPointerException} Check if the TypeName object is null.
     * @type {Builder}
     * @since 1.0
     */
    return(typeName: TypeName): Builder;
    
    /**
     * Build a property.
     *
     * @throws {NullPointerException} Check if the name is null.
     * @type {TSProperty}
     * @since 1.0
     */
    build(): TSProperty;
}
export { };
//# sourceMappingURL=TSProperty.d.ts.map